Skip to content

docs(verify): measured perf + a11y pass in verify-frontend (delivery-loop hardening #3)#142

Merged
helebest merged 1 commit into
mainfrom
ci/perf-a11y-verify
Jun 29, 2026
Merged

docs(verify): measured perf + a11y pass in verify-frontend (delivery-loop hardening #3)#142
helebest merged 1 commit into
mainfrom
ci/perf-a11y-verify

Conversation

@helebest

Copy link
Copy Markdown
Contributor

What

Adds Step 2.5 — Measured perf + a11y to the dikw-web-verify-frontend skill. The skill verified real-browser behavior + a clean console, then eyeballed the docs/ui-checklist.md accessibility / contrast / perf items. Now it runs the already-installed chrome-devtools-mcp lighthouse_audit (accessibility + performance + best-practices) against the changed route, scored to a rubric:

  • Accessibility ≥ 0.9, no new violation vs main
  • CLS ≤ 0.1 (cross-checks the existing perf.spec.ts gate; the trace shows which element shifted)
  • LCP recorded as a soft budget (runner-dependent)

Why

This is item #3 of the delivery-loop hardening effort (docs/adr/0005-delivery-loop-hardening.md), implementing Delba Oliveira's point that "many checks have criteria Claude can measure against: a performance budget, an accessibility checklist." It turns qualitative rubric items into numbers. Kept locally-measured, not a new CI gate — Lighthouse timing is runner-dependent (the same reason perf.spec.ts hard-gates only CLS). The #graph Pixi route audits a11y normally but skips the background-tab perf trace (stalled requestAnimationFrame), mirroring the skill's existing Chrome-MCP caveat.

Scope

Docs/skill only — dikw-web-verify-frontend/SKILL.md, docs/ui-checklist.md, CLAUDE.md (delivery step 5), docs/adr/0005, CHANGELOG, version. No src/server/test/runtime code. npm run check:gate passes with no label (touches no verification machinery).

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@helebest, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 35 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 81ab348e-7f0d-41c5-8829-4e40d660a03b

📥 Commits

Reviewing files that changed from the base of the PR and between 3b886a7 and 7dfe76f.

📒 Files selected for processing (6)
  • .claude/skills/dikw-web-verify-frontend/SKILL.md
  • CHANGELOG.md
  • CLAUDE.md
  • docs/adr/0005-delivery-loop-hardening.md
  • docs/ui-checklist.md
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/perf-a11y-verify

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b3dfa192a5

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +107 to +108
2. Run `lighthouse_audit` with the **accessibility** + **performance** +
**best-practices** categories.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Measure Web Vitals with the trace tool

When an agent follows Step 2.5 for any UI route, this asks lighthouse_audit for a performance category and then scores CLS/LCP from that pass. The Chrome DevTools MCP tool reference says lighthouse_audit “excludes performance” and directs performance audits to performance_start_trace, so this mandatory verification either fails at invocation or silently misses the Web Vitals budget it claims to enforce.

Useful? React with 👍 / 👎.

…loop hardening #3)

Add Step 2.5 to the dikw-web-verify-frontend skill: run the already-installed
chrome-devtools-mcp lighthouse_audit (accessibility + performance + best-practices)
against the changed route, scored to a rubric (a11y >= 0.9 with no new violation,
CLS <= 0.1, LCP recorded). Turns the eyeballed ui-checklist a11y/contrast/perf items
into measured numbers, per Delba Oliveira's feedback-loops note. Locally-measured, not
a new CI gate. Updates ui-checklist.md, CLAUDE.md delivery step 5, ADR 0005.
@helebest helebest force-pushed the ci/perf-a11y-verify branch from b3dfa19 to 7dfe76f Compare June 29, 2026 14:48
@helebest

Copy link
Copy Markdown
Contributor Author

Good catch — valid. chrome-devtools-mcp's lighthouse_audit excludes the performance category, so reading CLS/LCP from it would either error or silently miss the budget.

Fixed in 7dfe76f: Step 2.5 now splits the two tools explicitly — lighthouse_audit for accessibility + best-practices only, and a performance_start_trace/performance_stop_trace (+ performance_analyze_insight) for the Web Vitals (CLS/LCP). The same correction is applied to docs/ui-checklist.md, CLAUDE.md step 5, the CHANGELOG, and docs/adr/0005.

@helebest helebest merged commit e5eb85f into main Jun 29, 2026
10 checks passed
@helebest helebest deleted the ci/perf-a11y-verify branch June 29, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant